import Index from '@/views/Index'
const trade = {
    path: '/trade',
    name: 'trade',
    redirect: '/trade/list',
    component: Index,
    children: [
        {
            path: 'list',
            component: () => import('@/views/trade/List.vue'),
            name: 'trade_list',
            meta: {
                title: '交易列表',
                auth: true,
                breadcrumb: [{
                    title: '交易管理',
                    path: '/trade'
                }, {
                    title: '交易列表',
                    path: '/trade/list'
                }]
            }
        }, {
            path: 'add',
            component: () => import('@/views/trade/Add.vue'),
            name: 'trade_add',
            meta: {
                title: '添加交易',
                auth: true,
                breadcrumb: [{
                    title: '交易管理',
                    path: '/trade'
                }, {
                    title: '添加交易',
                    path: '/trade/add'
                }]
            }
        }
    ]
}
export default trade